FROM java:8
MAINTAINER leeb

ADD take-out-1.0.jar /take-out-app.jar
RUN bash -c 'touch /take-out-app.jar'
EXPOSE 8102
ENTRYPOINT ["java","-jar","/take-out-app.jar","--spring.profiles.active=prod"]

#docker run -p 8080:8080 --name cicd-demo -d mccode/cicd-demo:0.0.1
#http://101.43.149.52:8080/
# docker inspect